package com.hefeng.example.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hefeng.example.domain.WorkOrderDispositionResult;
import org.springframework.transaction.annotation.Transactional;


/**
 * 维保人员填写处置结果
 */
@Transactional
@DS("master")
public interface WorkOrderDispositionResultService extends IService<WorkOrderDispositionResult> {
    /**
     * 通过id查工单处置结果
     *
     * @param workId
     * @return
     */
    WorkOrderDispositionResult queryById(Integer workId);


    /**
     * 添加工单处置结果
     *
     * @param workOrderDispositionResult
     * @return
     */
    void insertR(WorkOrderDispositionResult workOrderDispositionResult);


}
